package com.woniu.park.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sp_totalorder")
public class Totalorder implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 订单总表编号
     */
    @TableId(value = "totalorder_id", type = IdType.AUTO)
    private Integer totalorderId;

    /**
     * 租客id
     */
    private Integer totalorderUserId;

    /**
     * 下单时间
     */
    private Date totalorderTime;

    /**
     * 订单编号
     */
    private Integer totalorderOrderId;

    /**
     * 小计
     */
    private Double totalorderTotal;
    /**
     * 入库时间
     */
    private Date totalorderSpacerecordTimeStart;

    /**
     * 出库时间
     */
    private Date totalorderSpacerecordTimeEnd;

    /**
     * 车位id
     */
    private Integer totalorderParkspaceId;
    /*
      车位状态  0车位已经预约/ 1车已入库 /2车已出库订单完成
     */
    private int totalorderStatus;
}
